import {
  Icon,
  Image as VanImage,
  Cell,
  CellGroup,
  Popup,
  Picker,
  Button,
  ActionSheet,
  Overlay,
  DatePicker,
} from 'vant'
import 'vant/lib/index.css'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import Vant from 'vant'

import App from './App.vue'
import router from './router'

const app = createApp(App)
app.use(Vant)
app.use(Icon)
app.use(CellGroup)
app.use(VanImage)
app.use(Cell)
app.use(Popup)
app.use(Picker)
app.use(Button)
app.use(ActionSheet)
app.use(Overlay)
app.use(DatePicker)

app.use(createPinia())
app.use(router)

app.mount('#app')
